package org.linlinjava.litemall.admin.vo.shop;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author wj
 * @date 2021/8/20 9:48
 */
public class GloudWarehouseAddVo {

    private Integer id;

    @NotNull(message = "店铺id不能为空")
    private Integer shopId;

    @NotBlank(message = "仓库名称不能为空")
    private String warehouseName;

    @NotNull(message = "省code不能为空")
    private Integer provinceID;

    @NotBlank(message = "省名称不能为空")
    private String provinceName;

    @NotNull(message = "市code不能为空")
    private Integer cityID;

    @NotBlank(message = "市名称不能为空")
    private String  cityName;

    @NotNull(message = "区code不能为空")
    private Integer areaID;

    @NotBlank(message = "区名称不能为空")
    private String areaName;

    @NotBlank(message = "详细地址不能为空")
    private String detailAddress;

    @Size(min = 2,message = "经纬度必须存在")
    private List<BigDecimal> latitudeAndLongitude;

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public Integer getProvinceID() {
        return provinceID;
    }

    public void setProvinceID(Integer provinceID) {
        this.provinceID = provinceID;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public Integer getCityID() {
        return cityID;
    }

    public void setCityID(Integer cityID) {
        this.cityID = cityID;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public Integer getAreaID() {
        return areaID;
    }

    public void setAreaID(Integer areaID) {
        this.areaID = areaID;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getDetailAddress() {
        return detailAddress;
    }

    public void setDetailAddress(String detailAddress) {
        this.detailAddress = detailAddress;
    }

    public List<BigDecimal> getLatitudeAndLongitude() {
        return latitudeAndLongitude;
    }

    public void setLatitudeAndLongitude(List<BigDecimal> latitudeAndLongitude) {
        this.latitudeAndLongitude = latitudeAndLongitude;
    }
}
